package com.cn.jdia.tas.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cn.jdia.tas.dao.GroupmemberMapper;
import com.cn.jdia.tas.model.Groupmember;
import com.cn.jdia.tas.service.IGroupmemberService;

@Service("groupmemberService")
public class IGroupmemberServiceImpl implements IGroupmemberService{

	@Resource
	private GroupmemberMapper memberMapper;

	@Override
	public List<Groupmember> getBelongedGroup(String employeeid) {
		return this.memberMapper.selectBelongedGroup(employeeid);
	}

	@Override
	public List<Groupmember> getGroupMember(int groupId) {
		return this.memberMapper.selectGroupMember(groupId);
	}
	
}
